/*
package com.zhongkai.controller;

import com.zhongkai.model.utils.ZhongkaiResult;
import com.zhongkai.service.PutDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class UserController {


	@Autowired
	private PutDeviceService userService;

    //	@RequestMapping(value = "/users/create" ,method=RequestMethod.POST)
    @RequestMapping(value = "/login",produces = "application/json;charset=utf-8")
    @ResponseBody
    public ZhongkaiResult add() {
       // User user = new User("我的名字", "我是密码");
        //userService.save(user);
       // ZhongkaiResult zhongkaiResult = loginService.userLogin("aaa", "22");
        ZhongkaiResult assa = userService.putDevicedata("assa");
        return assa;
    }
}
*/
